package com.kx.center.service.impl.elm;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kx.center.entity.elm.ElmOrderDetail;
import com.kx.center.mappers.elm.ElmOrderDetailMapper;
import com.kx.center.service.elm.ElmOrderDetailService;

@Service
public class ElmOrderDetailServiceImpl implements ElmOrderDetailService{
	
	@Autowired
	ElmOrderDetailMapper elmOrderDetailMapper;
	
	@Override
	public ElmOrderDetail findElmDetailById(Integer id) {
		return elmOrderDetailMapper.findElmDetailById(id);
	}

	@Override
	public void insertElmOrderDetail(ElmOrderDetail elmOrderDetail) {
		elmOrderDetailMapper.insertElmOrderDetail(elmOrderDetail);
	}

}
